/*--------------------------------------------------------------------------------------------------------------------
 *  -------------------------------------------------------------------------------------------------------------------
 *
 *  Filename: ps_api.h
 *
 *  Description: AT interface prototypes for yuge AT commands
 *
 *  History:
 *  Jan 9, 2020- Li Tang Creation of file
 *
 *  Notes:
 *
 ******************************************************************************/
#ifndef _OEM_FUNC_H
#define _OEM_FUNC_H

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdint.h>
#include <stdarg.h>

#include "gbl_types.h"

void *oem_malloc(size_t size);

void oem_free(void *ptr);

void *oem_calloc(size_t nmemb, size_t size);

void *oem_realloc(void *ptr, size_t size);

int oem_sprintf(char *str, const char *fmt, ...);

int oem_snprintf(char *str, size_t size, const char *fmt, ...);

int oem_vsprintf(char *str, const char *format, va_list ap);

int oem_vsnprintf(char *str, const int len, const char *format, va_list ap);

int oem_vsscanf(const char *str, const char *format, va_list ap);

#endif

